package tpf.designer.pattern.course10.homework.exercise1;

/**
 * 计算立方和1~100的立方和
 */
public class PlusWorker extends Worker {
    @Override
    public Object handle(Object object) {
        Integer i = (Integer) object;
//        System.out.println(i*i*i);
        return i * i * i;
    }
}
